<template>
  <div>
    <div class="box">
      <van-nav-bar
        title="地图找房"
        left-arrow
        @click-left="$router.push('./hk-find')"
      />
    </div>
    <div id="container"></div>
  </div>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {}
  },
  computed: {},
  watch: {},
  created() {},
  methods: {},
  mounted() {
    const map = new window.BMapGL.Map('container')
    const point = new window.BMapGL.Point(116.404, 39.915)
    map.centerAndZoom(point, 15)
    map.enableScrollWheelZoom(true)
  }
}
</script>

<style scoped lang="less">
#container {
  height: 100vh;
}

</style>
